import java.util.Scanner;

/**
 * 2. 格点
 * https://www.lanqiao.cn/problems/2367/learning/?page=1&first_category_id=1&second_category_id=3&tag_relation=intersection&tags=%E7%9C%81%E8%B5%9B,2021&sort=pass_rate&asc=0
 */
public class Main7 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int count = 0;
        for(int x = 1;x <= 2021;x++) {
            for(int y = 1;y <= 2021;y++) {
                if(x * y <= 2021) {
                    count++;
                }
            }
        }
        System.out.println(count);
        scan.close();
    }
}
